﻿<!-- Nav bar -->
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner2">
        <div class="container">
            <div class="float-left">
                您好，欢迎访问中华科教在线！
                @if (HttpContext.Current.User.Identity.IsAuthenticated)
                {
                    VirtualPress.Infrastructure.Entities.Entity.User user = new VirtualPress.Infrastructure.Entities.Entity.User().Find(HttpContext.Current.User.Identity.Name);
                    if (user != null)
                    {
                    <a href="/workspace/home/index">@user.NickName</a>
                    <a href="/account/logout">注销</a>
                    }
                }
                else
                {
                    <span>[<a href="/account/login">登录</a>]</span>
                    <span>[<a href="/account/register">注册</a>]</span>
                }
            </div>
            <div class="float-right">
                <!-- JiaThis Button BEGIN -->
                <div class="jiathis_style" style="margin-top:5px;">
                    <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis"
                        target="_blank">分享到</a> <a class="jiathis_counter_style"></a>
                </div>
                <!-- JiaThis Button END -->
            </div>
        </div>
    </div>
</div>
<!-- logo -->
<div class="container">
    <div class="float-left">
        <a href="/">
            <img alt="中华科教logo" src="/Content/img/logo.png" /></a>
    </div>
    <div class="float-right">
        <form class="navbar-search pull-left" style="padding-top: 10px;">
        <input type="text" class="search-query" placeholder="论文搜索" style="height: 25px; width: 250px"
            speech="speech" x-webkit-speech="x-webkit-speech">
        </form>
    </div>
</div>
<!-- main menu -->
<div class="container">
    <div class="navbar">
        <div class="navbar-inner">
            <ul class="nav">
                <li id="lihome"><a href="/">首页</a></li>
                <li id="libook"><a href="/books/home/list">图书</a></li>
                <li id="lijournal" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"
                    href="/Journals">期刊 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="/Journals/home/List">学术期刊</a></li>
                        <li><a href="/Magazine/home/">行业杂志</a></li>
                    </ul>
                </li>
                <li id="limeeting" class="dropdown"><a href="/home/conference">会议 </a>
                </li>
                @*<li id="limanuscript" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"
                    href="#">论文库 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a target="_blank" href="">期刊论文</a></li>
                        <li><a target="_blank" href="">会议论文集</a></li>
                    </ul>
                </li>*@
                <li id="linews"><a href="/Home/News">动态</a></li>
                <li id="licooperation"><a href="/Home/Cooperation">合作</a></li>
                @*<li id="limembers"><a href="/Home/Members">会员单位</a></li>*@
                <li id="liabout"><a href="/Home/About">关于我们</a></li>
            </ul>
        </div>
    </div>
</div>